Skip to content

Conversation

valkirilov
Copy link
Member

@valkirilov valkirilov commented Oct 6, 2025

Description

Added spacing between the key details in the header.

Before After
image Screenshot 2025-10-06 at 15 35 17

How it was tested

  1. Open the Databases page and connect to an existing database (or establish a connection with a new instance)
  2. Open the Browser tab from the top navigation
  3. Open existing key or add a new one (regardless of its type)

Observe the header with the details about the key (size, ttl, etc.)

Old Before After
Screenshot 2025-10-06 at 15 36 45 image Screenshot 2025-10-06 at 15 35 17

Side Quest

Additionally, there was a very odd behavior when you hover over the TTL field and trigger the inline editor. Now, I made some very ugly CSS fixes to make it look like the way before the EUI replacement.

Note: There is a very weird letter-spacing: -0.12px; and -webkit-font-smoothing: antialiased; applied across the codebase that causes some odd rendering of the font. I didn't touch that, because it looks like a general issue, but we should think about it. Maybe it was a fix related to an old font, but now it makes the current one look blurred.

Old

Screen.Recording.2025-10-06.at.16.31.51.mov

Before

Screen.Recording.2025-10-06.at.16.32.23.mov

After

Screen.Recording.2025-10-06.at.16.33.07.mov

Copy link
Contributor

github-actions bot commented Oct 6, 2025

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 82.13% 20037/24397
🟡 Branches 67.43% 8661/12845
🟡 Functions 76.21% 5330/6994
🟢 Lines 82.55% 19616/23763

Test suite run success

5162 tests passing in 677 suites.

Report generated by 🧪jest coverage report action from d55f733

/>

<EuiFlexItem className={styles.actions}>
<Spacer size="m" />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bonus Points: Not related to the changes of the popover colors, but I fixed this minimal spacing issue as well.

Before After
Image Image

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, there is a related ticket so it should be closed after this. I will link it to your issue. Tnx!

ArtemHoruzhenko
ArtemHoruzhenko previously approved these changes Oct 6, 2025
Copy link
Collaborator

@ArtemHoruzhenko ArtemHoruzhenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@valkirilov valkirilov force-pushed the fe/bugfix/RI-7602_browser-key-details-spacing branch from b3ce95b to 16e35f7 Compare October 7, 2025 08:04
<Text
size="s"
className={cx(styles.subtitleText, {
className={cx(styles.subtitleText, styles.subtitleTextTTL, {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since subtitleText is adding some paddings and you are removing it in subtitleTextTTL, does it make sense to remove the subtitleText class?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing it out. I thought we needed it because it comes with additional styling, but I just checked it and it works fine even without it. So, now it's removed, thanks!

@valkirilov valkirilov merged commit f9b746b into main Oct 7, 2025
18 checks passed
@valkirilov valkirilov deleted the fe/bugfix/RI-7602_browser-key-details-spacing branch October 7, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants